package test.bridge;

import dk.au.cs.peterbn.annotations.Member;
import dk.au.cs.peterbn.annotations.Pattern;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 10/28/11
 * Time: 11:46 AM
 * To change this template use File | Settings | File Templates.
 */
@Pattern(id = "test.bridge", name = "gof:Bridge", role = "Abstraction")
public abstract class Abstraction {

    private Implemetor impl;

    @Member(id = "test.bridge", role = "Operation")
    public void operation() {
        impl = new ConcreteImplementor();
        impl.operationImpl();

    }

}
